package com.carsa.blackberry;

import net.rim.device.api.ui.UiApplication;

import com.carsa.blackberry.ui.screen.LoadingScreen;

/**
 * @author Nahuel Barrios.
 * @since 17/08/2010.
 * @version 1.0
 * @Information Esta clase es la encargada de controlar la interfaz de usuario.
 */
public class ThreadUI extends UiApplication implements Runnable {

    private LoadingScreen _loadingScreen = new LoadingScreen();

    public void run() {
	this.enterEventDispatcher();
    }

    public ThreadUI() {
	pushScreen(_loadingScreen);
    }

    public LoadingScreen getLoadingScreen() {
	return this._loadingScreen;
    }

}
